<template>
  <div>
    hello 请从这个页面开始编辑哦
    <el-button @click="tiaozhuan">
      路由跳转（跳转去管理端）
    </el-button>
  </div>
</template>

<script>
import { getCodeImg } from "@/api/login";
import Cookies from "js-cookie";
import { encrypt, decrypt } from '@/utils/jsencrypt'

export default {
  name: "home",
  data() {
    return {
      redirect: undefined
    }
  },
  methods:{
    tiaozhuan(){
      this.$router.push({ path: this.redirect || "/index/index" }).catch(()=>{});
    }
  }
};
</script>

<style rel="stylesheet/scss" lang="scss">

</style>
